//初始化store实例对象
//1.导入Vue Vuex
import Vue from 'vue'
import Vuex from 'vuex'
import moduleUser from '@/store/user.js'
import moduleBuy from '@/store/buy.js'
import moduleRunner from '@/store/runner.js'
Vue.use(Vuex)


const store= new Vuex.Store({
  modules:{ 
    'm_user':moduleUser,
    'm_buy':moduleBuy,
    'm_runner':moduleRunner
  }
})

export default store;